package com.wyp.vo;

import com.wyp.entity.Goods;

import java.util.Date;

/**
 * @author: Oliver
 */
public class GoodsVO extends Goods {
    private Integer stockCount;
    private Date startDate;
    private Date endDate;
    private Double MSPrice;

    public GoodsVO() {
    }
    
    public GoodsVO(Integer stockCount, Date startDate, Date endDate, Double MSPrice) {
        this.stockCount = stockCount;
        this.startDate = startDate;
        this.endDate = endDate;
        this.MSPrice = MSPrice;
    }

    public GoodsVO(Long id, String goodsName, String goodsTitle, String goodsImg, String goodsDetail, Double goodsPrice, Integer goodsStock, Integer stockCount, Date startDate, Date endDate, Double MSPrice) {
        super(id, goodsName, goodsTitle, goodsImg, goodsDetail, goodsPrice, goodsStock);
        this.stockCount = stockCount;
        this.startDate = startDate;
        this.endDate = endDate;
        this.MSPrice = MSPrice;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Double getMSPrice() {
        return MSPrice;
    }

    public void setMSPrice(Double MSPrice) {
        this.MSPrice = MSPrice;
    }
}
